package com.chinaoly.baotou.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @description class
 * Create by sunlm
 * on 2022-09-28 16:00
 * Make small but daily progress
 */
@Data
@Table(name = "T_YJ_TEAM")
@ApiModel(value = "队伍实体",description = "存储队伍信息")
public class YjTeamVo implements Serializable {
    private static final long serialVersionUID = -7873387444935908357L;
    @Id
    @ApiModelProperty(value = "队伍ID",required = false)
    private String teamId;
    @ApiModelProperty(value = "队伍名称",required = true)
    private String teamName;
    @ApiModelProperty(value = "队伍头像图",required = true)
    private String teamHeadPicture;
    @ApiModelProperty(value = "队伍口号",required = true)
    private String teamSlogan;
    @ApiModelProperty(value = "队长ID",required = true)
    private String teamLeaderId;
    @ApiModelProperty(value = "队长",required = true)
    private String teamLeader;
    @ApiModelProperty(value = "队长手机号",required = true)
    private String teamLeaderPhone;
    @ApiModelProperty(value = "是否删除：0未删除，1删除",required = true)
    private Integer effectFlag ;
    @Transient
    @ApiModelProperty(value = "队伍中的义警数",required = false)
    private Integer memberCount;
    @Transient
    @ApiModelProperty(value = "队伍指数",required = false)
    private Integer teamIndex;
    @Transient
    @ApiModelProperty(value = "义警加入队伍状态标识：0表示已经加入该队伍；-1表示未加入该队伍",required = false)
    private Integer joinTeamStatus;

}
